<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Holiday extends Model
{
    public $table='holiday';
    public $timestamps = false;
    protected $guarded = [];

    public function getTypeAttribute($key)
    {
        return config('options.holiday_type')[$key];
    }
}